DeviceResult

class DeviceResult(val status: CommandStatus, val measurements: Map<ScanMode, IMeasurementData>? = null)

Class representing a device response after an asynchronous command.

Constructors

Link copied to clipboard
constructor(status: CommandStatus, measurements: Map<ScanMode, IMeasurementData>? = null)

Properties

Link copied to clipboard

Map of measurement results, if applicable. Value is null if the command does not provide any measurement results, or if the operation was not successful.

Link copied to clipboard

Status code of the completed command. CommandStatus.SUCCESS for a successful operation